package com.ddtech.business.bank.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题库问题表
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("question_bank_question")
@ApiModel(value="BankQuestion对象", description="题库问题表")
public class QuestionBankQuestion extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题库id")
    private String bankId;

    @ApiModelProperty(value = "题目固定的题号")
    private Integer questionNum;

    @ApiModelProperty(value = "题目描述")
    private String questionDesc;

    @ApiModelProperty(value = "考察知识点")
    private String knowledgePoint;

    @ApiModelProperty(value = "附件、图片")
    private String questionImg;

    @ApiModelProperty(value = "题型 0单选 1多选  2判断 3案例题")
    private Integer optionType;

    @ApiModelProperty(value = "分值")
    private Double score;

    @ApiModelProperty(value = "安规专业类别")
    private String majorType;

    @ApiModelProperty(value = "试题解析")
    private String basis;

    @ApiModelProperty(value = "难易程度")
    private String difficulty;

    @ApiModelProperty(value = "试题关键词，标签")
    private String keywords;


    @ApiModelProperty(value = "专业id")
    private String majorId;


    public static final String BANK_ID="bank_id";

    public static final String KEY_WORDS="keywords";

    public static final String QUESTION_DESC="question_desc";

    public static final String OPTION_TYPE="option_type";

    public static final String IS_DELETE="is_delete";

}
